package com.yikome.product.repository;

import java.util.List;

import org.springframework.data.domain.Sort;
import org.springframework.stereotype.Repository;

import com.yikome.common.CommonRepository;
import com.yikome.product.entity.ProductComments;

@Repository
public interface ProductCommentsRepository extends CommonRepository<ProductComments, Long> {

	List<ProductComments> findByProductId(Long productId, Sort sort);

	List<ProductComments> findByProductId(Long productId);
}
